(jka-compr-insert-file-contents): Avoid error when
authorAndreas Schwab <schwab@suse.de>
Thu, 25 Dec 2003 11:05:57 +0000 (11:05 +0000)
committerAndreas Schwab <schwab@suse.de>
Thu, 25 Dec 2003 11:05:57 +0000 (11:05 +0000)
file not found.

lisp/jka-compr.el

index dd56c9c0f31293f878bfe9b76e871be8b42db8b6..aae0f0f85c1a7b4243492d93bb267939ab5834ae 100644 (file)
@@ -590,10 +590,11 @@ There should be no more than seven characters after the final `/'."
             (file-exists-p local-copy)
             (delete-file local-copy)))
 
-         (decode-coding-inserted-region
-          (point) (+ (point) size)
-          (jka-compr-byte-compiler-base-file-name file)
-          visit beg end replace)
+         (unless notfound
+           (decode-coding-inserted-region
+            (point) (+ (point) size)
+            (jka-compr-byte-compiler-base-file-name file)
+            visit beg end replace))
 
          (and
           visit